*::after, *::before {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.sec {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #111;
  overflow: hidden;
  position: relative;
  gap: 0 10px;
}

.box {
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.33em;
  color: #222;
}

.box:nth-child(odd)::before {
  content: '· Happy Diwali ·';
}

.box:nth-child(even)::before {
  content: '2023';
  filter: hue-rotate(180deg);
}